package com.xb.health.repository;

import com.xb.health.pojo.mgo.MongoUser;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface MongoUserRepository extends MongoRepository<MongoUser,Long> {
    List<MongoUser> findMongoUsersByUserNameLike(String name);
    MongoUser findByUserName(String userName);
}
